
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
                xmlns:p="http://primefaces.org/ui">

    <h:outputScript library="js" name="chat_websocket.js"/>
    <h:outputStylesheet library="css" name="chat.css"/>

    <div id="divChat">
        <h:form  id="form">
            <p:inputTextarea id="msg" style="width: 570px; height: 20px"/>
            <p:button id="btEnviar" href="#" onclick="enviarTexto()" value="Enviar"
                      style="float: right;"/>
        </h:form>
        <br/>
        <p:panel class="painelmural">
            <div class="conversa" >
                <span id="conversas"></span>
            </div>
        </p:panel>
    </div>

</ui:composition>